<?php
/**
 * Author:xsc
 * Time:2023/11/22 17:10
 */

namespace App\Params\Common;

use App\Params\BaseParam;

class AlbumDetailParams extends BaseParam
{

    public $mid;

    public $id;

    public function rules()
    {
        return [
            'mid' => 'required|string',
            'id'  => 'required|integer',
        ];
    }

    public function message()
    {
        return [
            "mid.required" => "商户号不能为空",
            "id.required"  => "id不能为空",
        ];
    }

    public function getMid()
    {
        return $this->mid;
    }

    public function getId()
    {
        return $this->id;
    }
}
